<a class="leftTopmenu navbar-brand" href="{$_G[siteurl]}">
  <img src="{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}" class="d-inline-block align-middle">
 $_G['setting']['sitename']
</a>